package org.boyan.modules.cgform.model;

/**
 * @author: zhuxiaobao
 * @time: 2021/9/26 12:23
 */

import java.io.Serializable;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.boyan.common.system.vo.DictModel;
import org.boyan.modules.cgform.entity.OnlCgformButton;

public class OnlComplexModel implements Serializable {
    private static final long b = 1L;

    private String c;

    private String d;

    private String e;

    private String f;

    private Integer g;

    private String h;

    private String i;

    private Integer j;

    private List<OnlColumn> k;

    private List<String> l;

    public void setCode(String code) {
        this.c = code;
    }

    public void setFormTemplate(String formTemplate) {
        this.d = formTemplate;
    }

    public void setDescription(String description) {
        this.e = description;
    }

    public void setCurrentTableName(String currentTableName) {
        this.f = currentTableName;
    }

    public void setTableType(Integer tableType) {
        this.g = tableType;
    }

    public void setPaginationFlag(String paginationFlag) {
        this.h = paginationFlag;
    }

    public void setCheckboxFlag(String checkboxFlag) {
        this.i = checkboxFlag;
    }

    public void setScrollFlag(Integer scrollFlag) {
        this.j = scrollFlag;
    }

    public void setColumns(List<OnlColumn> columns) {
        this.k = columns;
    }

    public void setHideColumns(List<String> hideColumns) {
        this.l = hideColumns;
    }

    public void setDictOptions(Map<String, List<DictModel>> dictOptions) {
        this.m = dictOptions;
    }

    public void setCgButtonList(List<OnlCgformButton> cgButtonList) {
        this.n = cgButtonList;
    }

    public void setFieldHrefSlots(List<HrefSlots> fieldHrefSlots) {
        this.a = fieldHrefSlots;
    }

    public void setEnhanceJs(String enhanceJs) {
        this.o = enhanceJs;
    }

    public void setForeignKeys(List<b> foreignKeys) {
        this.p = foreignKeys;
    }

    public void setPidField(String pidField) {
        this.q = pidField;
    }

    public void setHasChildrenField(String hasChildrenField) {
        this.r = hasChildrenField;
    }

    public void setTextField(String textField) {
        this.s = textField;
    }

    public void setIsDesForm(String isDesForm) {
        this.t = isDesForm;
    }

    public void setDesFormCode(String desFormCode) {
        this.u = desFormCode;
    }

    public void setRelationType(Integer relationType) {
        this.v = relationType;
    }

    @Override
    public boolean equals(Object o) {
        if (o == this)
            return true;
        if (!(o instanceof OnlComplexModel))
            return false;
        OnlComplexModel onlComplexModel = (OnlComplexModel)o;
        if (!onlComplexModel.a(this))
            return false;
        Integer integer1 = getTableType(), integer2 = onlComplexModel.getTableType();
        if ((integer1 == null) ? (integer2 != null) : !integer1.equals(integer2))
            return false;
        Integer integer3 = getScrollFlag(), integer4 = onlComplexModel.getScrollFlag();
        if ((integer3 == null) ? (integer4 != null) : !integer3.equals(integer4))
            return false;
        Integer integer5 = getRelationType(), integer6 = onlComplexModel.getRelationType();
        if ((integer5 == null) ? (integer6 != null) : !integer5.equals(integer6))
            return false;
        String str1 = getCode(), str2 = onlComplexModel.getCode();
        if ((str1 == null) ? (str2 != null) : !str1.equals(str2))
            return false;
        String str3 = getFormTemplate(), str4 = onlComplexModel.getFormTemplate();
        if ((str3 == null) ? (str4 != null) : !str3.equals(str4))
            return false;
        String str5 = getDescription(), str6 = onlComplexModel.getDescription();
        if ((str5 == null) ? (str6 != null) : !str5.equals(str6))
            return false;
        String str7 = getCurrentTableName(), str8 = onlComplexModel.getCurrentTableName();
        if ((str7 == null) ? (str8 != null) : !str7.equals(str8))
            return false;
        String str9 = getPaginationFlag(), str10 = onlComplexModel.getPaginationFlag();
        if ((str9 == null) ? (str10 != null) : !str9.equals(str10))
            return false;
        String str11 = getCheckboxFlag(), str12 = onlComplexModel.getCheckboxFlag();
        if ((str11 == null) ? (str12 != null) : !str11.equals(str12))
            return false;
        List<OnlColumn> list1 = getColumns(), list2 = onlComplexModel.getColumns();
        if ((list1 == null) ? (list2 != null) : !list1.equals(list2))
            return false;
        List<String> list3 = getHideColumns(), list4 = onlComplexModel.getHideColumns();
        if ((list3 == null) ? (list4 != null) : !list3.equals(list4))
            return false;
        Map<String, List<DictModel>> map1 = getDictOptions(), map2 = onlComplexModel.getDictOptions();
        if ((map1 == null) ? (map2 != null) : !map1.equals(map2))
            return false;
        List<OnlCgformButton> list5 = getCgButtonList(), list6 = onlComplexModel.getCgButtonList();
        if ((list5 == null) ? (list6 != null) : !list5.equals(list6))
            return false;
        List<HrefSlots> list7 = getFieldHrefSlots(), list8 = onlComplexModel.getFieldHrefSlots();
        if ((list7 == null) ? (list8 != null) : !list7.equals(list8))
            return false;
        String str13 = getEnhanceJs(), str14 = onlComplexModel.getEnhanceJs();
        if ((str13 == null) ? (str14 != null) : !str13.equals(str14))
            return false;
        List<b> list9 = getForeignKeys(), list10 = onlComplexModel.getForeignKeys();
        if ((list9 == null) ? (list10 != null) : !list9.equals(list10))
            return false;
        String str15 = getPidField(), str16 = onlComplexModel.getPidField();
        if ((str15 == null) ? (str16 != null) : !str15.equals(str16))
            return false;
        String str17 = getHasChildrenField(), str18 = onlComplexModel.getHasChildrenField();
        if ((str17 == null) ? (str18 != null) : !str17.equals(str18))
            return false;
        String str19 = getTextField(), str20 = onlComplexModel.getTextField();
        if ((str19 == null) ? (str20 != null) : !str19.equals(str20))
            return false;
        String str21 = getIsDesForm(), str22 = onlComplexModel.getIsDesForm();
        if ((str21 == null) ? (str22 != null) : !str21.equals(str22))
            return false;
        String str23 = getDesFormCode(), str24 = onlComplexModel.getDesFormCode();
        return !((str23 == null) ? (str24 != null) : !str23.equals(str24));
    }

    protected boolean a(Object paramObject) {
        return paramObject instanceof OnlComplexModel;
    }

    @Override
    public int hashCode() {
        boolean var1 = true;
        byte var2 = 1;
        Integer var3 = this.getTableType();
        int var24 = var2 * 59 + (var3 == null ? 43 : var3.hashCode());
        Integer var4 = this.getScrollFlag();
        var24 = var24 * 59 + (var4 == null ? 43 : var4.hashCode());
        Integer var5 = this.getRelationType();
        var24 = var24 * 59 + (var5 == null ? 43 : var5.hashCode());
        String var6 = this.getCode();
        var24 = var24 * 59 + (var6 == null ? 43 : var6.hashCode());
        String var7 = this.getFormTemplate();
        var24 = var24 * 59 + (var7 == null ? 43 : var7.hashCode());
        String var8 = this.getDescription();
        var24 = var24 * 59 + (var8 == null ? 43 : var8.hashCode());
        String var9 = this.getCurrentTableName();
        var24 = var24 * 59 + (var9 == null ? 43 : var9.hashCode());
        String var10 = this.getPaginationFlag();
        var24 = var24 * 59 + (var10 == null ? 43 : var10.hashCode());
        String var11 = this.getCheckboxFlag();
        var24 = var24 * 59 + (var11 == null ? 43 : var11.hashCode());
        List var12 = this.getColumns();
        var24 = var24 * 59 + (var12 == null ? 43 : var12.hashCode());
        List var13 = this.getHideColumns();
        var24 = var24 * 59 + (var13 == null ? 43 : var13.hashCode());
        Map var14 = this.getDictOptions();
        var24 = var24 * 59 + (var14 == null ? 43 : var14.hashCode());
        List var15 = this.getCgButtonList();
        var24 = var24 * 59 + (var15 == null ? 43 : var15.hashCode());
        List var16 = this.getFieldHrefSlots();
        var24 = var24 * 59 + (var16 == null ? 43 : var16.hashCode());
        String var17 = this.getEnhanceJs();
        var24 = var24 * 59 + (var17 == null ? 43 : var17.hashCode());
        List var18 = this.getForeignKeys();
        var24 = var24 * 59 + (var18 == null ? 43 : var18.hashCode());
        String var19 = this.getPidField();
        var24 = var24 * 59 + (var19 == null ? 43 : var19.hashCode());
        String var20 = this.getHasChildrenField();
        var24 = var24 * 59 + (var20 == null ? 43 : var20.hashCode());
        String var21 = this.getTextField();
        var24 = var24 * 59 + (var21 == null ? 43 : var21.hashCode());
        String var22 = this.getIsDesForm();
        var24 = var24 * 59 + (var22 == null ? 43 : var22.hashCode());
        String var23 = this.getDesFormCode();
        var24 = var24 * 59 + (var23 == null ? 43 : var23.hashCode());
        return var24;
    }

    @Override
    public String toString() {
        return "OnlComplexModel(code=" + getCode() + ", formTemplate=" + getFormTemplate() + ", description=" + getDescription() + ", currentTableName=" + getCurrentTableName() + ", tableType=" + getTableType() + ", paginationFlag=" + getPaginationFlag() + ", checkboxFlag=" + getCheckboxFlag() + ", scrollFlag=" + getScrollFlag() + ", columns=" + getColumns() + ", hideColumns=" + getHideColumns() + ", dictOptions=" + getDictOptions() + ", cgButtonList=" + getCgButtonList() + ", fieldHrefSlots=" + getFieldHrefSlots() + ", enhanceJs=" + getEnhanceJs() + ", foreignKeys=" + getForeignKeys() + ", pidField=" + getPidField() + ", hasChildrenField=" + getHasChildrenField() + ", textField=" + getTextField() + ", isDesForm=" + getIsDesForm() + ", desFormCode=" + getDesFormCode() + ", relationType=" + getRelationType() + ")";
    }

    public String getCode() {
        return this.c;
    }

    public String getFormTemplate() {
        return this.d;
    }

    public String getDescription() {
        return this.e;
    }

    public String getCurrentTableName() {
        return this.f;
    }

    public Integer getTableType() {
        return this.g;
    }

    public String getPaginationFlag() {
        return this.h;
    }

    public String getCheckboxFlag() {
        return this.i;
    }

    public Integer getScrollFlag() {
        return this.j;
    }

    public List<OnlColumn> getColumns() {
        return this.k;
    }

    public List<String> getHideColumns() {
        return this.l;
    }

    private Map<String, List<DictModel>> m = new HashMap<>();

    private List<OnlCgformButton> n;

    List<HrefSlots> a;

    private String o;

    private List<b> p;

    private String q;

    private String r;

    private String s;

    private String t;

    private String u;

    private Integer v;

    public Map<String, List<DictModel>> getDictOptions() {
        return this.m;
    }

    public List<OnlCgformButton> getCgButtonList() {
        return this.n;
    }

    public List<HrefSlots> getFieldHrefSlots() {
        return this.a;
    }

    public String getEnhanceJs() {
        return this.o;
    }

    public List<b> getForeignKeys() {
        return this.p;
    }

    public String getPidField() {
        return this.q;
    }

    public String getHasChildrenField() {
        return this.r;
    }

    public String getTextField() {
        return this.s;
    }

    public String getIsDesForm() {
        return this.t;
    }

    public String getDesFormCode() {
        return this.u;
    }

    public Integer getRelationType() {
        return this.v;
    }
}
